package com.day8.test2_integer_gouzao;

/**
 * @author 小坡
 * @date 2022/9/11  18:17
 **/
public class TestIntegerMethod {
    public static void main(String[] args) {
        Integer integer = new Integer(100);
        Integer integer1 = new Integer("100");
        System.out.println(integer);
        System.out.println(integer1);
        System.out.println("----------------------");
        Integer integer2 = Integer.valueOf(200);
        Integer integer3 = Integer.valueOf("200");
        System.out.println(integer2);
        System.out.println(integer3);
    }
}
